// 解密
import CryptoJS from "crypto-js";
export default function decrypt(data) { //key,iv：16位的字符串
	var key = "0000000671595991";
	var iv = "tdrdadq59tbss5n7";
	var key1 = CryptoJS.enc.Latin1.parse(key);
	var iv1 = CryptoJS.enc.Latin1.parse(iv);
	var decrypted = CryptoJS.AES.decrypt(data, key1, {
		iv: iv1,
		mode: CryptoJS.mode.CBC,
		padding: CryptoJS.pad.ZeroPadding
	});
	return decrypted.toString(CryptoJS.enc.Utf8);
}